]> dgit.raspbian.org Git - gnome-shell.git/commit
gtk-embed: ensure we only listen for window-created events once
authorRay Strode <rstrode@redhat.com>
Thu, 14 Sep 2017 18:46:13 +0000 (14:46 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 15 Sep 2017 19:32:46 +0000 (15:32 -0400)
commit90c55e1977fde252b79bcfd9d0ef41144fb21fe2
tree164b0b08a9592836b6c15bf4779116c0c68766e7
parent8331436ab30e7219bd76ac931fab93fa73b5da5e
gtk-embed: ensure we only listen for window-created events once

If a tray icon gets a mapped and unmapped and the mapped again
in quick succession, we can end up with multiple handlers
listening for window creation events.

This commit tries to guard against that by only listening for
window-created events when we don't  know the actor associated
with the icon.

https://bugzilla.gnome.org/show_bug.cgi?id=787361
src/shell-gtk-embed.c